<#import "/layout.html" as c>
    <#import "/list_layout.html" as list>
        <#assign alertList = []/>
        <@c.html title="Index">
        <!-- ================== 开始页面级CSS调用 ================== -->
        <link href="${pluginsRoot}bootstrap-wizard/css/bwizard.min.css" rel="stylesheet"/>
        <!-- 日历控件 -->
        <link href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/WdatePicker.css" rel="stylesheet"/>
        <link href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/default/datepicker.css" rel="stylesheet"/>
        <!-- ================== 结束页面级CSS调用 ================== -->
        <@list.html title="实名认证列表" subTitle="实名认证列表" alertList=alertList permi="user:identify:list" addBtn=false searchHint="请输入姓名/身份证号码进行搜索">

        <@shiro.hasPermission name="sys:real:audit">
            <input type="hidden" id="realAudit" value="1"/>
        </@shiro.hasPermission>
        <@shiro.hasPermission name="sys:real:look">
            <input type="hidden" id="realLook" value="1"/>
        </@shiro.hasPermission>
        <!-- 结束用户权限参数 -->

        <!-- 开启审核管理员模态窗口 -->
        <div class="modal fade" id="editModal" tabindex="-1" role="dialog">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                        <h4 class="modal-title"> 实名认证审核 <a class="btn btn-info btn-xs m-l-10" role="button" data-toggle="collapse" href="#OperationTipsAdd" aria-expanded="true" title="操作提示"> <i class="fa fa-exclamation"></i> &nbsp;提示 </a> </h4>
                    </div>
                    <div class="modal-body">
                        <ul class="text-info p-b-15 p-l-15 collapse in" role="tabpanel" id="OperationTipsAdd">
                            <li class="m-b-3">请写好备注</li>
                        </ul>
                        <div class="form-group">
                            <label class="control-label">用户名&nbsp;:</label></label>
                            <input type="text" id="userName" class="form-control" disabled/>
                        </div>
                        <div class="form-group">
                            <label class="control-label">姓名&nbsp;:</label></label>
                            <input type="text" id="realName" class="form-control" disabled/>
                        </div>
                        <div class="form-group">
                            <label class="control-label">身份证号码&nbsp;:</label></label>
                            <input type="text" id="idCard" class="form-control"  disabled/>
                        </div>
                        <div class="form-group">
                            <label class="control-label">身份证正面&nbsp;:</label></label>
                            <div class="clickreply-image m-b-15"><img src="${imgRoot}default_image.gif" id="cardFront" alt="" class="media-object viewImage"></div>
                        </div>
                        <div class="form-group">
                            <label class="control-label">身份证反面&nbsp;:</label></label>
                            <div class="clickreply-image m-b-15"><img src="${imgRoot}default_image.gif" id="cardOpposite" alt="" class="media-object viewImage"></div>
                        </div>
                        <form  class="form-horizontal form-bordered p-0" id="editForm" autocomplete="off" action="${adminRoot}/userAuth/json/verify" method="post" data-parsley-validate="true">
                            <input type="hidden" id="id" name="id"/>
                        <div class="form-group">
                            <label class="control-label col-md-2 col-sm-3">审核&nbsp;*: </label>
                            <div class="col-md-9 col-sm-8">
                                <input type="checkbox" class="status" autocomplete="off"
                                       data-input-name="status"
                                       data-size="small"
                                       data-on-color="primary"
                                       data-on-text="通过"
                                       data-off-text="不通过"
                                       data-input-true="2"
                                       data-input-false="3"
                                       checked/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-2 col-sm-3">备注</label>
                            <div class="col-md-9 col-sm-8">
                                <input type="text" name="remark" class="form-control" placeholder="请输入备注" maxlength="50" autocomplete="off" data-tip="tooltip" data-placement="auto"  data-parsley-length="[0, 50]"/>
                            </div>
                        </div>
                        </form>
                    </div>
                    <div class="modal-footer"> <a href="javascript:;" class="btn btn-white" data-dismiss="modal">放弃操作</a> <a href="javascript:;" class="btn btn-primary" data-loading-text="Loading..." nc-ajax-submit-target="editForm" nc-ajax-submit>确认提交</a> </div>
                </div>
            </div>
        </div>
        <!-- 结束审核管理员模态窗口 -->

    <!-- 开启查看管理员模态窗口 -->
    <div class="modal fade" id="lookModal" tabindex="-1" role="dialog">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 class="modal-title"> 实名认证查看 <a class="btn btn-info btn-xs m-l-10" role="button" data-toggle="collapse" href="#OperationTipsAdd" aria-expanded="true" title="操作提示"> <i class="fa fa-exclamation"></i> &nbsp;提示 </a> </h4>
                </div>
                <div class="modal-body">
                    <div class="form-group">
                        <label class="control-label">用户名&nbsp;:</label></label>
                        <input type="text" id="lookUserName" class="form-control" disabled/>
                    </div>
                    <div class="form-group">
                        <label class="control-label">姓名&nbsp;:</label></label>
                        <input type="text" id="lookRealName" class="form-control" disabled/>
                    </div>
                    <div class="form-group">
                        <label class="control-label">身份证号码&nbsp;:</label></label>
                        <input type="text" id="lookIdcard" class="form-control"  disabled/>
                    </div>
                    <div class="form-group">
                        <label class="control-label">认证状态&nbsp;:</label></label>
                        <input type="text" id="lookStatus" class="form-control"  disabled/>
                    </div>
                    <div class="form-group">
                        <label class="control-label">身份证正面&nbsp;:</label></label>
                        <img id="lookCardFront" width="230" height="140" src="" />
                    </div>
                    <div class="form-group">
                        <label class="control-label">身份证反面&nbsp;:</label></label>
                        <img id="lookCardOpposite" width="230" height="140" src="" />
                    </div>
                    <div class="form-group">
                        <dt><i class="required"></i>备注：</dt>
                        <input type="text" id="lookRemark" class="form-control" disabled>
                        </dd>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 结束编辑管理员模态窗口 -->

        <!-- 结束编辑管理员模态窗口 -->

    </@list.html>
    <!-- ================== 开始页面级JavaScrip调用 ================== -->
    <script src="${pluginsRoot}bootstrap-wizard/js/bwizard.js"></script>
    <!-- 表单checkbox项 -->
    <script src="${pluginsRoot}bootstrap-switch/bootstrap-switch.min.js"></script>
    <!-- 日历控件 -->
    <script src="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/WdatePicker.js" defer="defer"></script>
    <script src="${jsRoot}user/realName.handle.js"></script>
<!-- ================== 结束页面级JavaScrip调用 ================== -->
</@c.html>
